package com.yfp.operation.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yfp.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.util.Date;

/**
 *
 * @version 1.0
 * @date 2024-07-17 10:38
 */
@Data
@Tag(name = "领取优惠券列表实体")
public class AcquireListVO {

    /**
     * 领取id
     */
    @Schema(description = "领取id")
    private Long clientCouponId;

    /**
     * 用户名称
     */
    @Schema(description = "用户名称")
    @Excel(name = "用户名称")
    private String nickName;

    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    @Excel(name = "用户账号")
    private String mobile;

    /**
     * 领取时间
     */
    @Schema(description = "领取时间")
    @Excel(name = "领取时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String acquireTime;

    /**
     * 用券时间
     */
    @Schema(description = "用券时间")
    @Excel(name = "用券时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String useTime;

    /**
     * 状态0失效1正常2已使用3已过期
     */
    @Schema(description = "状态0失效1正常2已使用3已过期")
    @Excel(name = "状态", readConverterExp="0=失效,1=未使用,2=已使用,3=已过期")
    private Integer status;

    /**
     * 使用点位名称
     */
    @Schema(description = "使用点位名称")
    @Excel(name = "使用点位名称")
    private String positionName;

    /**
     * 实物券核销人id
     */
    @Schema(description = "实物券核销人id")
    private Long verifyUserId;

    /**
     * 实物券核销人Name
     */
    @Schema(description = "实物券核销人")
    @Excel(name = "实物券核销人")
    private String verifyUserName;

    /**
     * 券类型1满减券2折扣券3单品券4新人券5霸王免单券
     */
    @Excel(name = "券类型", readConverterExp="1=满减券,2=折扣券,3=单品券,4=新人券,5=霸王免单券")
    private Integer type;

    @Excel(name = "核销券时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date verifyTime;

}
